package com.wooophone.mpyeah.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.wooophone.mpyeah.dao.BrandCategoryFKDao;
import com.wooophone.mpyeah.entity.BrandCategoryFK;
import com.wooophone.mpyeah.mapper.BrandCategoryFKMapper;

public class BrandCategoryFKDaoImpl implements BrandCategoryFKDao {

	@Autowired
	BrandCategoryFKMapper brandCategoryFKMapper;
	
	@Override
	public int save(BrandCategoryFK obj) {
		return	this.brandCategoryFKMapper.save(obj);
	}

	@Override
	public List<BrandCategoryFK> listByBrandId(String brandId) {
		return brandCategoryFKMapper.listByBrandId(brandId);
	}
	

	@Override
	public int deleteByBrandId(String brandId) {
		return brandCategoryFKMapper.deleteByBrandId(brandId);
	}

	@Override
	public List<BrandCategoryFK> list() {
		return brandCategoryFKMapper.list();
	}

	public void setBrandCategoryFKMapper(BrandCategoryFKMapper brandCategoryFKMapper) {
		this.brandCategoryFKMapper = brandCategoryFKMapper;
	}
	
	
	
}
